Xbasic

A5_TIMESTAMP Function

Syntax

Formatted_Short_Time as C = a5_timestamp()

Returns

Formatted_Short_TimeCharacter

The current system time formatted according to your preferences.

Description

Generates a timestamp as a character string for the current time.

Discussion

The A5_TIMESTAMP() function returns a short time value as character string, using the time format specified in the Settings dialog box ( Settings... > Preferences > Time ) section. This function is called when the user presses the Control + Shift + T hotkey in form or browse mode.

Example

? a5_timestamp()
= "04:51 PM"

See Also